<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input id="id" name="id" th:value="${channel.id}" type="hidden">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">渠道名称：</label>
                            <div class="input-group col-sm-8">
                                <input id="title" name="title" th:value="${channel.title}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">描述：</label>
                            <div class="input-group col-sm-8">
                                <input id="memo" name="memo" th:value="${channel.memo}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">公司ID：</label>
                            <div class="input-group col-sm-8">
                                <input id="companyId" name="companyId" th:value="${channel.companyId}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">顺序号：</label>
                            <div class="input-group col-sm-8">
                                <input id="orderNumber" name="orderNumber" th:value="${channel.orderNumber}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">渠道类型：</label>
                            <div class="input-group col-sm-8">
                                <select name="classType" class="selectpicker" data-live-search="true"
                                        data-live-search-placeholder="搜索" data-actions-box="true" >
                                    <span th:each="channelTypeDic,iterStat:${channelTypeDicList}">
                                        <option th:value="${channelTypeDic.value}" th:text="${channelTypeDic.title}" th:field="*{channel.channelType}"></option>
                                    </span>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="input-group  col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/sys/channel/edit.js">
</script>
</body>
</html>
